package com.task.web.controller.system;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.task.common.core.controller.BaseController;
import com.task.common.core.domain.AjaxResult;
import com.task.common.enums.DuplicateConditionEnum;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author 迪迦.
 * @date 2024/12/27 13:04
 */
@RestController
@RequestMapping("/systemEnum")
public class SystemEnumController extends BaseController {

  @ApiModelProperty("获取数据发送去重条件类型")
  @GetMapping("/getDuplicateConditionEnum")
  public AjaxResult getDuplicateConditionEnum() {
    return success(DuplicateConditionEnum.getList());
  }

}
